class CreateGroupPhotos < ActiveRecord::Migration
  def self.up
    create_table :group_photos do |t|
      t.column :event_id,:integer
      t.column :location,:string
      t.column :occurs_on,:datetime
      t.timestamps
    end
  end

  def self.down
    drop_table :group_photos
  end
end
